package gameView;

import graphic.GameView;
import graphic.render.StandardRender;

import javax.swing.JFrame;

/**
 * Main.
 * @author Jan
 *
 */
public class TestGameViewLauncher {
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		
		//Da qui avvieremo il gioco.
		GameView game= new TestGameView( new StandardRender() );
		
		frame.add(game);
		frame.pack();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
		frame.setResizable(false);
		frame.setLocationRelativeTo(null);
		game.start();
	}
}
